package com.yanqu.road.entity.autodata.chuhan.data;

public class CrossChuHanBattleResult {

    private int winType;

    private CrossChuHanBattlefieldTeam def;
    private long defHpReduce;
    private long defZhanGong;

    private CrossChuHanBattlefieldTeam atk;
    private long atkHpReduce;
    private long atkZhanGong;

    private int winTimes;

    // 存个引用，方便返回给客户端
    private CrossChuHanBattlefieldPart part;
    private CrossChuHanBattlefield battlefield;
    private CrossChuHanCityData city;


    public CrossChuHanBattleResult() {
    }

    public CrossChuHanBattleResult(CrossChuHanBattlefieldPart part, CrossChuHanBattlefield battlefield, CrossChuHanCityData city,
                                   int winType,
                                   CrossChuHanBattlefieldTeam def, long defHpReduce, long defZhanGong,
                                   CrossChuHanBattlefieldTeam atk, long atkHpReduce, long atkZhanGong,
                                   int winTimes) {
        this.part = part;
        this.battlefield = battlefield;
        this.city = city;
        this.winType = winType;
        this.def = def;
        this.defHpReduce = defHpReduce;
        this.defZhanGong = defZhanGong;
        this.atk = atk;
        this.atkHpReduce = atkHpReduce;
        this.atkZhanGong = atkZhanGong;
        this.winTimes = winTimes;
    }

    public CrossChuHanBattlefieldPart getPart() {
        return part;
    }

    public void setPart(CrossChuHanBattlefieldPart part) {
        this.part = part;
    }

    public CrossChuHanBattlefield getBattlefield() {
        return battlefield;
    }

    public void setBattlefield(CrossChuHanBattlefield battlefield) {
        this.battlefield = battlefield;
    }

    public CrossChuHanCityData getCity() {
        return city;
    }

    public void setCity(CrossChuHanCityData city) {
        this.city = city;
    }

    public int getWinTimes() {
        return winTimes;
    }

    public void setWinTimes(int winTimes) {
        this.winTimes = winTimes;
    }

    public int getWinType() {
        return winType;
    }

    public void setWinType(int winType) {
        this.winType = winType;
    }

    public CrossChuHanBattlefieldTeam getDef() {
        return def;
    }

    public void setDef(CrossChuHanBattlefieldTeam def) {
        this.def = def;
    }

    public long getDefHpReduce() {
        return defHpReduce;
    }

    public void setDefHpReduce(long defHpReduce) {
        this.defHpReduce = defHpReduce;
    }

    public long getDefZhanGong() {
        return defZhanGong;
    }

    public void setDefZhanGong(long defZhanGong) {
        this.defZhanGong = defZhanGong;
    }

    public CrossChuHanBattlefieldTeam getAtk() {
        return atk;
    }

    public void setAtk(CrossChuHanBattlefieldTeam atk) {
        this.atk = atk;
    }

    public long getAtkHpReduce() {
        return atkHpReduce;
    }

    public void setAtkHpReduce(long atkHpReduce) {
        this.atkHpReduce = atkHpReduce;
    }

    public long getAtkZhanGong() {
        return atkZhanGong;
    }

    public void setAtkZhanGong(long atkZhanGong) {
        this.atkZhanGong = atkZhanGong;
    }
}
